package com.hans.scala.elem

class UniformElement(
                      ch: Char,
                      override val width: Int,
                      override val height: Int
                      ) extends Element {
  def contents = Array.fill(height)(line)

  private def line = ch.toString * width
}

